package com.dkm.ec.sale.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.dkm.ec.sale.context.StrategySaleContext;
import com.dkm.ec.sale.factory.RecommendSaleStrategyFactory;
import com.dkm.ec.sale.persistence.entity.SaleEntityPo;
import com.dkm.ec.sale.persistence.entity.SaleSkuPo;
import com.dkm.ec.sale.service.SaleRecommendService;
@Service
public class SaleRecommendServiceImpl implements SaleRecommendService {

	@Override
	public List<SaleEntityPo> find(String type, StrategySaleContext context,
			Integer count) {
		// TODO 以后有业务再开发。
		return null;
	}

	@Override
	public List<SaleSkuPo> findSku(String type, StrategySaleContext context,
			Integer count) {
		// TODO Auto-generated method stub
		return RecommendSaleStrategyFactory.create(type).findSku(context, count);
	}


}
